package com.mapbased.sfw.component;

import java.util.List;

import org.dom4j.Element;

import com.mapbased.sfw.component.forme.FormElement;
import com.mapbased.sfw.model.Fragment;
import com.mapbased.sfw.model.LoadContext;
import com.mapbased.sfw.model.RenderContext;

public class Form extends Component {
	List<FormElement> formElements = new java.util.ArrayList<FormElement>();
    
	@Override
	public void handleEvent(RenderContext rc, String evtName) {

		if (evtName.equals("post")) {

		}

	}

	@Override
	public void render(RenderContext rc) {
		 

	}

 

	@Override
	public String[] getEventNames() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void parseXml(Element ele, LoadContext lc) {
		// TODO Auto-generated method stub

	}

	@Override
	public void toXml(XmlContext xc) {
		// TODO Auto-generated method stub

	}

	@Override
	public String getTypeName() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setContainer(Fragment holder) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public int mapVar(String name) {
		 if(name.equalsIgnoreCase("caption")){
			 
		 }
		return 0;
	}

}
